package com.lastproject.dto;

import java.io.Serializable;

public class RatingDTO implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private int id;
	private int idUser;
	private int idBook;
	private int rating;
	
	
	public RatingDTO() {
		super();
	}


	public RatingDTO(int id, int idUser, int idBook, int rating) {
		super();
		this.id = id;
		this.idUser = idUser;
		this.idBook = idBook;
		this.rating = rating;
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public int getIdUser() {
		return idUser;
	}


	public void setIdUser(int idUser) {
		this.idUser = idUser;
	}


	public int getIdBook() {
		return idBook;
	}


	public void setIdBook(int idBook) {
		this.idBook = idBook;
	}


	public int getRating() {
		return rating;
	}


	public void setRating(int rating) {
		this.rating = rating;
	}
	
	

}
